package com.chixing.ih.module.programmer.service;

import com.chixing.ih.module.programmer.pojo.Attention;
import com.chixing.ih.module.programmer.pojo.dto.AttentionDTO;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @version 1.0
 * @Author MasterYan
 * @Date 2020/10/4
 * Time: 11:03
 */
public interface IAttentionService {

    List<AttentionDTO> listFollower(long followerId);


    List<AttentionDTO> listFan(long followedId);


    boolean saveAttention(Attention attention);


    boolean deleteAttention(long followerId, long followedId);


}
